---
page_title: "cloudflare_regional_hostname Resource - Cloudflare"
subcategory: ""
description: |-
  Provides a Data Localization Suite Regional Hostname.
---

# cloudflare_regional_hostname (Resource)

Provides a Data Localization Suite Regional Hostname.

## Example Usage

```terraform
# Regionalized hostname record resources are managed independently from the
# Regionalized Hostname resources.
resource "cloudflare_record" "example" {
  zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
  name    = "example.com"
  value   = "192.0.2.1"
  type    = "A"
  ttl     = 3600
}

# The cloudflare_regional_hostname resource may exist with or without its
# corresponding record resource.
resource "cloudflare_regional_hostname" "example" {
  zone_id    = "0da42c8d2132a9ddaf714f9e7c920711"
  hostname   = "example.com"
  region_key = "eu"
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `hostname` (String) The hostname to regionalize.
- `region_key` (String) The region key. See [the full region list](https://developers.cloudflare.com/data-localization/regional-services/get-started/).
- `zone_id` (String) The zone identifier to target for the resource.

### Optional

- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

### Read-Only

- `created_on` (String) The RFC3339 timestamp of when the hostname was created.
- `id` (String) The ID of this resource.

<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Optional:

- `create` (String)
- `update` (String)


